Electronic device and communication connecting method thereof

ABSTRACT

An electronic device is provided. The electronic device includes a first local area communication part configured to perform a first local area communication, a second local area communication part configured to perform a second local area communication at a lower power than the first local area communication part, and a control part configured to connect the first local area communication to other electronic devices by using the second local area communication part, wherein the second local area communication part may be configured to try a second local area communication with the other electronic devices after the connected first local area communication is disconnected.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a U.S. National Stage application under 35 U.S.C.§371 of an International application filed on Aug. 29, 2014 and assignedapplication number PCT/KR2014/008068, which claimed the benefit of aKorean patent application filed on Sep. 2, 2013 in the KoreanIntellectual Property Office and assigned Serial number 10-2013-0104845,the entire disclosure of which is hereby incorporated by reference.

TECHNICAL FIELD

The present disclosure relates to an electronic device and acommunication connecting method of an electronic device. Moreparticularly, the present disclosure relates to an electronic device anda communication connecting method of an electronic device capable ofconnecting communication with low power in an electronic device.

BACKGROUND

Currently, various electronic devices, for example, mobile devicesinclude wireless communication functions. Protocols or processes forwireless communication between the electronic devices have beenestablished according to the wireless communication functions.

Direct short-range communication protocols between the electronicdevices, for example, Bluetooth, direct Wi-Fi, and the like have beendeveloped. The electronic devices may exchange data or controlinformation with each other by using the short-range communicationprotocol.

The above information is presented as background information only toassist with an understanding of the present disclosure. No determinationhas been made, and no assertion is made, as to whether any of the abovemight be applicable as prior art with regard to the present disclosure.

SUMMARY

Aspects of the present disclosure are to address at least theabove-mentioned problems and/or disadvantages and to provide at leastthe advantages described below. Accordingly, an aspect of the presentdisclosure is to provide an electronic device and a communication linkmethod of the electronic device capable of making a communication linkwith low power.

In a state where a link is established between an electronic device andanother electronic device through short-range communication (e.g.,Bluetooth), a link loss may occur without any link release operation bya user. For example, when the electronic devices become separated fromeach other by more than a short-range communicable distance, the linkloss may occur. In this case, a Bluetooth communication unit of theelectronic device may inform a controller of the electronic device of alink loss state.

The controller may transmit a Bluetooth communication link command tothe Bluetooth communication unit, and the Bluetooth communication unithaving received the Bluetooth communication link command may attempt toestablish a link for the Bluetooth communication with the otherelectronic device for a transaction timeout period (e.g., 30 seconds)existing in the Bluetooth communication link command.

However, in a situation such as a case where the other electronic devicedoes not exist within a predetermined range in which the Bluetoothcommunication is possible, the electronic device may fail to establish alink for the Bluetooth communication with the other electronic devicefor the transaction timeout period (e.g., 30 seconds). The Bluetoothcommunication unit which has failed the Bluetooth communication with theother electronic device for the transaction timeout period repeatedlyperforms an operation of receiving a Bluetooth communication linkcommand including the transaction timeout period from the controller andattempts to establish the link for the Bluetooth communication with theother electronic device for the transaction timeout period until thelink of the Bluetooth communication with the other electronic device ismade. The repeatedly performed operation may cause power consumption ofthe electronic device since the controller causes a wake up state inevery transaction timeout period.

Another aspect of the present disclosure is to provide an electronicdevice and a communication link method of the electronic device capableof re-making the communication link with low power when the link lossoccurs without any operation by the user in a state where a link ofshort-range communication is made.

In accordance with an aspect of the present disclosure, an electronicdevice is provided. The electronic device includes a first short-rangecommunication unit configured to perform first short-rangecommunication, a second short-range communication unit configured toperform second short-range communication with a lower power than that ofthe first short-range communication unit, and a controller configured tomake a link of the first short-range communication with anotherelectronic device by using the second short-range communication unit,wherein the second short-range communication unit is configured toattempt the second short-range communication with the other electronicdevice after the link of the first short-range communication is lost.

In accordance with another aspect of the present disclosure, a method ofestablishing a communication link by an electronic device is provided.The method includes performing first short-range communication withanother electronic device by an electronic device, and after a link ofthe first short-range communication is lost, attempting secondshort-range communication with the other electronic device by theelectronic device.

In accordance with another aspect of the present disclosure, anelectronic device is provided. The electronic device includes a firstcommunication unit configured to perform communication by using a firstcommunication protocol, a second communication unit configured toperform communication by using a second communication protocol with alower power than that of the first communication unit, and a controllerconfigured to establish a first communication link by using the firstcommunication unit, wherein the second communication unit is configuredto attempt a second communication link after the first communicationlink stops.

Other aspects, advantages, and salient features of the disclosure willbecome apparent to those skilled in the art from the following detaileddescription, which, taken in conjunction with the annexed drawings,discloses various embodiments of the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features, and advantages of certainembodiments of the present disclosure will be more apparent from thefollowing description taken in conjunction with the accompanyingdrawings, in which:

FIG. 1 illustrates a short-range communication link operation betweenelectronic devices according to various embodiments of the presentdisclosure;

FIG. 2 schematically illustrates a configuration of an electronic deviceaccording to various embodiments of the present disclosure;

FIG. 3 is a flowchart illustrating an operation for establishing acommunication link by an electronic device according to variousembodiments of the present disclosure;

FIGS. 4A and 4B are flowcharts illustrating an operation forestablishing a link for a short-range communication by an electronicdevice according to various embodiments of the present disclosure;

FIGS. 5A and 5B are flowcharts illustrating an operation for making alink of a short-range communication by an electronic device according tovarious embodiments of the present disclosure;

FIG. 6 is a flowchart illustrating an operation for making a link of ashort-range communication by an electronic device according to variousembodiments of the present disclosure;

FIGS. 7A and 7B are flowcharts illustrating an operation for making alink of a short-range communication by an electronic device according tovarious embodiments of the present disclosure; and

FIGS. 8A and 8B are flowcharts illustrating an operation for making alink of a short-range communication by an electronic device according tovarious embodiments of the present disclosure.

Throughout the drawings, like reference numerals will be understood torefer to like parts, components, and structures.

DETAILED DESCRIPTION

The following description with reference to the accompanying drawings isprovided to assist in a comprehensive understanding of variousembodiments of the present disclosure as defined by the claims and theirequivalents. It includes various specific details to assist in thatunderstanding but these are to be regarded as merely exemplary.Accordingly, those of ordinary skill in the art will recognize thatvarious changes and modifications of the various embodiments describedherein can be made without departing from the scope and spirit of thepresent disclosure. In addition, descriptions of well-known functionsand constructions may be omitted for clarity and conciseness

The terms and words used in the following description and claims are notlimited to the bibliographical meanings, but, are merely used by theinventor to enable a clear and consistent understanding of the presentdisclosure. Accordingly, it should be apparent to those skilled in theart that the following description of various embodiments of the presentdisclosure is provided for illustration purpose only and not for thepurpose of limiting the present disclosure as defined by the appendedclaims and their equivalents.

It is to be understood that the singular forms “a,” “an,” and “the”include plural referents unless the context clearly dictates otherwise.Thus, for example, reference to “a component surface” includes referenceto one or more of such surfaces.

An electronic device according to the present disclosure may be a deviceincluding a communication function. For example, the electronic devicemay be a combination of one or more of a smartphone, a tablet personalcomputer, a mobile phone, a video phone, an e-book reader, a desktoppersonal computer, a laptop personal computer, a netbook computer, apersonal digital assistant (PDA), a portable multimedia player (PMP), anmoving picture experts group layer-3 Audio (MP3) player, a mobilemedical device, an electronic bracelet, an electronic necklace, anelectronic appcessory, a camera, a wearable device, an electronic clock,a wrist watch, a home appliance (e.g. a refrigerator, an airconditioner, a cleaner, an oven, a microwave oven, a washing machine, avacuum cleaner, etc.), an artificial intelligent robot, a television(TV), a digital versatile disc (DVD) player, an audio player, variousmedical machines (e.g. a magnetic resonance angiography (MRA), amagnetic resonance imaging (MRI), a computed tomography (CT), atomography camera, a sonography device, and the like), a navigationdevice, a global positioning system (GPS) receiver, an event datarecorder (EDR), a flight data recorder (FDR), a set-top box, a TV box(e.g. SamSung HomeSync™, Apple TV™, or Google TV™), an electronicdictionary, a vehicle infotainment device, electronic equipment for aship (e.g. navigation equipment for a ship, a gyrocompass, and thelike), avionic equipment, a security device, an electronic cloth, anelectronic key, a camcorder, a game console, a head-mounted display(HMD), a flat panel display device, an electronic frame, an electronicalbum, a furniture or a part of a building/structure including acommunication function, an electronic board, an electronic signaturereceiving device, a projector, and the like. It is obvious to thoseskilled in the art that the electronic device according to the presentdisclosure is not limited to the aforementioned devices.

FIG. 1 illustrates a short-range communication link operation betweenelectronic devices according to various embodiments of the presentdisclosure.

Referring to FIG. 1, an electronic device 200 (hereinafter, referred toas a “first electronic device”) may include a first short-rangecommunication unit that may perform first short-range communication anda second short-range communication unit that may perform secondshort-range communication with lower power (low power) compared to thefirst short-range communication unit. According to another embodiment ofthe present disclosure, one short-range communication unit may have afirst short-range communication mode using a first power amount and asecond short-range communication mode using a second power amount. Thesecond power amount may be different from the first power amount and,for example, may be lower than the first power amount.

When the first electronic device 200 has a link loss in a state where alink for first short-range communication is established between thefirst electronic device 200 and another electronic device 300(hereinafter, referred to as a “second electronic device”) through thefirst short-range communication unit, the first electronic device 200may acquire a time point when the link with the second electronic device300 is possible through a second short-range communication unit andattempt to re-establish a link with the second electronic device 300through the first short-range communication unit at the connectable timepoint.

The second electronic device 300 may include the first short-rangecommunication unit that may perform the first short-range communicationand the second short-range communication unit that may perform thesecond short-range communication with lower power than that of the firstshort-range communication unit.

When a link loss occurs in a state where the second electronic device300 has a link for the first short-range communication with the firstelectronic device 200 through the first short-range communication unit,the second electronic device 300 may broadcast an advertising packetincluding address information on the second electronic device throughthe second short-range communication unit. Thereafter, when a requestfor the link through the first short-range communication unit is made bythe first electronic device 200, the second electronic device 300 mayre-establish a link for the first short-range communication with thefirst electronic device 200.

According to various embodiments of the present disclosure, when thelink loss occurs while the first short-range communication is connected,a scan role for performing a scan operation of the second short-rangecommunication may be set to the first electronic device 200, and abroadcasting role for performing an advertising packet broadcastingoperation of the second short-range communication may be preset to thesecond electronic device 300.

However, according to the role setting, the scan role for performing thescan operation of the second short-range communication may be set to thesecond electronic device 300 and the broadcasting role for performingthe advertising packet broadcasting operation of the second short-rangecommunication may be set to the first electronic device 200.

FIG. 2 schematically illustrates a configuration of an electronic deviceaccording to various embodiments of the present disclosure. The firstelectronic device 200 and the second electronic device 300 may have aconfiguration equal or similar to that illustrated in FIG. 2.

Referring to FIG. 2, an electronic device 100 has a radio frequency (RF)unit 123 and the RF unit 123 performs a wireless communication functionof the electronic device 100. The RF unit 123 includes an RF transmitterfor up-converting and amplifying a frequency of a transmitted signal andan RF receiver for low noise-amplifying a received signal anddown-converting a frequency. A data processor 120 may include atransmitter for encoding and modulating the transmitted signal and areceiver for demodulating and decoding the received signal and the like.That is, the data processor 120 may include a modem and a codec. Thecodec may include a data codec for processing packet data and the like,and an audio codec for processing an audio signal such as a voice andthe like. An audio processor 125 may perform a function of reproducing areceived audio signal output from the audio codec of the data processor120 or transmitting a transmitted audio signal generated from amicrophone to the audio codec of the data processor 120.

A key input unit 127 may include keys for inputting number and characterinformation and function keys for setting various functions.

A memory 130 may be configured by a program memory, and data memories.The program memory may store programs for controlling general operationsof the electronic device 100 and programs for controllingre-establishment of a link for the first short-range communicationthrough the second short-range communication with low power when thelink loss of the first short-range communication occurs. Further, thedata memory may perform a function of temporarily storing data generatedwhile the programs are executed.

A controller 110 performs a function of controlling the generaloperations of the electronic device 100.

The scan role for performing the scan operation of the secondshort-range communication occurs when the link loss occurs while thefirst short-range communication is connected to the electronic device100 (e.g., the first electronic device 200), if the controller 110according to various embodiments of the present disclosure receives,from a first short-range communication unit 171, link loss stateinformation for informing of the generation of the link loss in a statewhere the link with the second electronic device 300 is made, thecontroller 110 may transmit a scan command along with, for example,address information of the second electronic device to a secondshort-range communication unit 172.

After transmitting the scan command along with the address informationof the second electronic device, when the controller 110 receives amessage for informing of detection of the address information of thesecond electronic device 300 from the second short-range communicationunit 172, the controller 110 may transmit a first short-rangecommunication link command to the first short-range communication unit171 to allow the first short-range communication unit 171 to attempt thelink of the first short-range communication.

When the controller 110 receives first short-range communication linkfailure information from the first short-range communication unit 171 towhich the first short-range communication link command has beentransmitted, the controller 110 may make a request for a received signalstrength indication (RSSI) value (hereinafter, referred to as an “RSSIvalue”) of the second electronic device 300 to the second short-rangecommunication unit 172.

When the controller 110 receives the RSSI value of the second electronicdevice 300 from the second short-range communication unit 172 and thereceived RSSI value is larger than or equal to a preset RSSI referencevalue, the controller 110 may transmit the first short-rangecommunication link command to the first short-range communication unit171. The RSSI reference value may include an RSSI value indicating thatanother electronic device is located within a predetermined range inwhich the link through the first short-range communication unit ispossible.

Further, when the controller 110 receives, from the first short-rangecommunication unit 171, link loss state information for informing of theoccurrence of the link loss in the state where the connection with thesecond electronic device 300 is made, the controller 110 may transmit ascan command along with the address information of the second electronicdevice and the request for the RSSI value of the second electronicdevice to the second short-range communication unit 172.

When the RSSI value of the second electronic device 300 received fromthe second short-range communication unit 172 after the scan command istransmitted to the second short-range communication unit 172 along withthe address information of the second electronic device and the requestfor the RSSI value of the second electronic device is larger than orequal to the RSSI reference value, the controller 110 may transmit thefirst short-range communication link command to the first short-rangecommunication unit 171.

When the broadcasting role for broadcasting the advertising packet ofthe second short-range communication when the link loss occurs while thelink of the first short-range communication is established is set to theelectronic device 100 (e.g., like the second electronic device 300), ifthe controller 110 according to various embodiments of the presentdisclosure receives, from the first short-range communication unit 171,link loss state information for informing of the occurrence of the linkloss in the state where the connection with the first electronic device200 is made, the controller 110 may transmit an advertising packetbroadcasting command to allow the second short-range communication unit172 to broadcast the advertising packet including the addressinformation of the second electronic device 300.

For example, the advertising packet may include a transmission powerlevel (Tx power level) at which the RSSI value can be measured, and theTx power level may be used as a value for measuring the RSSI value ofthe second electronic device 300 by the first electronic device 200.When a request for the link of the first short-range communication ismade by the first electronic device 200, the controller 110 may make thelink of the first short-range communication with the first electronicdevice 200.

A camera unit 140 photographs image data, and includes a camera sensorfor converting a photographed optical signal to an electrical signal anda signal processor for converting an analog image signal photographed bythe camera sensor to digital data. Here, it is assumed that the camerasensor is a charge coupled device (CCD) or complementary metal oxidesemiconductor (CMOS) sensor, and the signal processor may be implementedby a digital signal processor (DSP). Further, the camera sensor and thesignal processor may be implemented integrally or separately.

An image processor 150 performs image signal processing (ISP) fordisplaying an image signal output from the camera unit 140 on a displayunit 160, and the ISP corresponds to a function such as gammacorrection, interpolation, a spatial change, an image effect, imagescaling, automatic white balance (AWB), automatic focusing (AF),automatic exposure (AE), and the like. Accordingly, the image processor150 processes the image signal output from the camera unit 140 in theunit of frames, and outputs the frame image data in accordance with acharacteristic and a size of the display unit 160. Further, the imageprocessor 150 includes an image codec and performs a function ofcompressing the frame image data displayed on the display unit 160through a set method or reconstructing the compressed frame image datainto original frame image data. The image codec may be a jointphotographic experts group (JPEG) codec, a moving picture experts group4 (MPEG4) codec, a Wavelet codec, and the like. It is assumed that theimage processor 150 may have an on-screen-display (OSD) function, andthe image processor 150 may output OSD data according to a size of thedisplayed screen under a control of the controller 110.

The display unit 160 may display the image signal output from the imageprocessor 150 on the screen and display user data output from thecontroller 110. The display unit 160 may use a liquid crystal display(LCD) and, in this case, may include an LCD controller, a memory forstoring image data, and an LCD display device. When the LCD isimplemented in a touch screen type, the display unit 160 may operate asan input unit and, at this time, keys such as the key input unit 127 maybe displayed on the display unit 160.

Further, when the display unit 160 is used as a touch screen unit as thedisplay unit 160 is implemented in the touch screen type, the touchscreen unit may be configured by a touch screen panel (TSP) including aplurality of sensor panels, and the plurality of sensor panels mayinclude a capacitive sensor panel capable of recognizing a hand touchand an electromagnetic induction sensor panel capable of detecting afine touch made by a touch pen.

A short-range communication unit 170 may provide a short-range wirelesscommunication function. The short-range communication unit 170 mayinclude the first short-range communication unit 171 and the secondshort-range communication unit 172 according to various embodiments ofthe present disclosure. In various embodiments of the presentdisclosure, the first short-range communication unit 171 and the secondshort-range communication unit 172 are described as parts separated fromeach other. However, in another embodiment of the present disclosure,the first short-range communication unit 171 and the second short-rangecommunication unit 172 may be integrated into one part.

In various embodiments of the present disclosure, the electronic device100 may have the first short-range communication unit that consumes thefirst power amount and the second short-range communication unit thatconsumes the second power amount. The second power amount may be smallerthan the first power amount. In other words, the second communicationunit may consume lower power than the first communication unit.

According to an embodiment of the present disclosure, the firstshort-range communication unit 171 may include a communication unit(hereinafter, referred to as a “Bluetooth communication unit”) using aBluetooth protocol, and the second short-range communication unit 172may include a communication unit (hereinafter, referred to as a “BLEcommunication unit”) using a Bluetooth low energy (BLE) protocol. Inembodiments of the present disclosure, power consumption or a consumedpower amount of the second short-range communication unit 172 duringoperation may be smaller than that of the first short-rangecommunication unit 171. In another embodiment of the present disclosure,it may be easily understood by those skilled in the art that theelectronic device 100 may include various other combinations of a firstshort-range communication unit and a second short-range communicationunit.

If the scan role is set to the electronic device 100 to perform the scanoperation of the second short-range communication when the link lossoccurs in the state where the first short-range communication isconnected, (e.g., in the first electronic device 200), the firstshort-range communication unit 171 according to various embodiments ofthe present disclosure may transmit link loss state information to thecontroller 110 when the link loss occurs in the state where the firstshort-range communication is connected with the second electronic device300.

When receiving a first short-range communication link command from thecontroller 110 after transmitting the link loss state information to thecontroller 110, the first short-range communication unit 171 may attempta link of the first short-range communication with the second electronicdevice 300 through a paging operation.

If the scan role is set to the electronic device 100 to perform the scanoperation of the second short-range communication when the link lossoccurs in the state where the first short-range communication isconnected (e.g., in the first electronic device 200), the secondshort-range communication unit 172 according to various embodiments ofthe present disclosure may perform the scan operation for a broadcastedadvertising packet when the scan command is received along with addressinformation of the second electronic device from the controller 110.

When the advertising packet broadcasted by the second electronic device300 is scanned through the scan operation and the address information ofthe second electronic device exists in the advertising packet, thesecond short-range communication unit 172 may transmit a message thatinforms of the detection of the address information of the secondelectronic device 300 to the controller 110.

Alternatively, before or after transmitting the message that informs ofthe detection of the address information of the second electronic device300 to the controller 110, the second short-range communication unit 172may make a request for the link of the second short-range communicationto the second electronic device 300, and thus establish the link for thesecond short-range communication with the second electronic device 300.

When receiving a request for an RSSI value of the second electronicdevice 300 from the controller 110 after transmitting the message thatinforms of the detection of the address information of the secondelectronic device 300 to the controller 110, the second short-rangecommunication unit 172 may detect the RSSI value of the secondelectronic device 300. The second short-range communication unit 172 maydetect the RSSI value by using a signal strength of the advertisingpacket having the address information of the second electronic deviceamong the advertising packets received through the scan operation ordetect the RSSI value by using a TX power level included in theadvertising packet having the address information of the secondelectronic device, and transmit the detected RSSI value to thecontroller 110. Alternatively, when the link of the second short-rangecommunication (BLE communication) is made with the second electronicdevice 300, the second short-range communication unit 172 may detect theRSSI value of the second electronic device 300 having the link of thesecond short-range communication and transmit the detected RSSI value tothe controller 110.

When receiving a scan command along with the address information of thesecond electronic device 300 and the RSSI value of the second electronicdevice 300 from the controller 110, the second short-range communicationunit 172 may perform the scan operation for the broadcasted advertisingpacket.

When the advertising packet broadcasted by the second electronic device300 is scanned through the scan operation and the address information ofthe second electronic device exists in the advertising packet, thesecond short-range communication unit 172 may detect the RSSI value ofthe second electronic device. The second short-range communication unit172 may detect the RSSI value by using a signal strength of theadvertising packet having the address information of the secondelectronic device among the advertising packets received through thescan operation or detect the RSSI value by using a TX power levelincluded in the advertising packet having the address information of thesecond electronic device, and transmit the detected RSSI value to thecontroller 110. Alternatively, when the link of the second short-rangecommunication (BLE communication) is made with the second electronicdevice 300, the second short-range communication unit 172 may detect theRSSI value of the second electronic device 300 having the establishedlink for the second short-range communication and transmit the detectedRSSI value to the controller 110.

When the broadcasting role for broadcasting the advertising packet ofthe short-range communication when the link loss occurs in the statewhere the link of the first short-range communication is made is set tothe electronic device 100 (e.g., the second electronic device 300), thesecond short-range communication unit 172 according to variousembodiments of the present disclosure may broadcast the advertisingpacket including a TX power level along with the address information ofthe second electronic device when receiving an advertising packetbroadcasting command from the controller 110. When a request for thelink of the second short-range communication is made by the firstelectronic device 200 after broadcasting the advertising packet, thesecond short-range communication unit 172 may make the link of thesecond short-range communication with the first electronic device 200.

The short-range communication link operation between the firstelectronic device and the second electronic device, having the abovedescribed configuration will be described in detail with reference toFIGS. 3 to 8.

In FIGS. 3 to 8, the first electronic device 200 and the secondelectronic device 300 equally include the controller 110, the firstshort-range communication unit 171, and the second short-rangecommunication unit 172 as illustrated in FIGS. 1 and 2, but the firstelectronic device 200 may include a controller A, a first short-rangecommunication unit A, and a second short-range communication unit A andthe second electronic device 300 may include a controller B, a firstshort-range communication unit B, and a second short-range communicationunit B to differentiate the same configuration.

FIGS. 3 to 5 describe an operation for making the link of the firstshort-range communication using second short-range communication (BLEcommunication) without pairing of the second short-range communication(BLE communication), and FIGS. 6 to 8 describe an operation for makingthe link of the first short-range communication using second short-rangecommunication (BLE communication) with pairing of the second short-rangecommunication (BLE communication).

The operation for making the link of the first short-range communicationusing the second short-range communication (BLE communication) withoutpairing of the second short-range communication (BLE communication) willbe first described with reference to FIGS. 3 to 5.

FIG. 3 is a flowchart illustrating an operation for making a link of ashort-range communication by an electronic device according to variousembodiments of the present disclosure.

A method and a process according to an embodiment will be describedbelow with reference to the configuration of the electronic deviceillustrated in FIGS. 1 and 2.

Referring to FIG. 3, when an unintended link loss occurs without anyoperation by the user in a state where the link of BT communicationcorresponding to first short-range communication is made through a firstshort-range communication unit A 253 of the first electronic device 200and a first short-range communication unit B 353 of the secondelectronic device 300 in operation 301, the first short-rangecommunication unit A 253 may transmit link loss state information to acontroller A 251 and the first short-range communication unit B 353 maytransmit the link loss state information to a controller B 351 inoperation 302.

When receiving the link loss state information from the firstshort-range communication unit A 253, the controller A 251 may transmita BLE scan command along with address information of the secondelectronic device 300 with which the link loss occurred in the statewhere the link was established through the first short-rangecommunication unit A 253 to a second short-range communication unit A255 and then switch to a sleep mode in operation 303. In this case, theoperation of the first short-range communication unit B 353 may stop.

When receiving the BLE scan command from the controller A 251, thesecond short-range communication unit A 255 may perform a scan operationof scanning for a broadcasted advertising packet in operation 304 a.

When receiving the link loss state information from the firstshort-range communication unit B 353, the controller B 351 may transmita broadcasting command for the advertising packet to a secondshort-range communication unit B 355 and then switch to the sleep modein operation 303. In this case, the operation of the first short-rangecommunication unit A 253 may also stop.

When receiving the broadcasting command for the advertising packet fromthe controller B 351, the second short-range communication unit B 355may broadcast the advertising packet including the address informationof the second electronic device 300 in operation 304 b.

As the second short-range communication unit B 355 broadcasts theadvertising packet, the second short-range communication unit A 255 mayscan for the advertising packet broadcasted by the second short-rangecommunication unit B 355 through the scan operation.

When the address information of the second electronic device 300 isdetected in the scanned advertising packet in operation 305, the secondshort-range communication unit A 255 may transmit a message that informsof the detection of the address information of the second electronicdevice 300 to the controller A 251 in operation 306.

When receiving the message that informs of the detection of the addressinformation of the second electronic device 300 from the secondshort-range communication unit A 255, the controller A 251 may switch toa wake up mode from the sleep mode and transmit a command for the linkof the first short-range communication with the second electronic device300 to the first short-range communication unit A 253 in operation 307.Since the first short-range communication (BT communication) and thesecond short-range communication (BLE communication) have similarcommunication link ranges, a state in which the link of the secondshort-range communication is possible through reception of theadvertising packet broadcasted by the second electronic device 300 mayrefer to a state in which the first short-range communication ispossible. Further, the above method also can be applied when thecommunication link range of the second short-range communication issmaller than the communication link range of the first short-rangecommunication as well as the case where the first short-rangecommunication and the second short-range communication have the similarcommunication link ranges.

Accordingly, when receiving the command for the link of the firstshort-range communication with the second electronic device 300 from thecontroller A 251, the first short-range communication unit A 253 mayattempt paging for the link of the first short-range communication withthe second electronic device 300. At this time, when the firstshort-range communication unit A 253 and the first short-rangecommunication unit B 353 of the second electronic device 300, whichperforms the paging scan, are in synchronization, the link of the BTcommunication corresponding to the first short-range communication maybe re-made between the first electronic device 200 and the secondelectronic device 300 through the first short-range communication unit A253 and the first short-range communication unit B 353 in operation 308.

FIGS. 4A and 4B are flowcharts illustrating an operation for making alink of a short-range communication by an electronic device according tovarious embodiments of the present disclosure.

A method and a process according to an embodiment will be describedbelow with reference to the configuration of the electronic deviceillustrated in FIGS. 1 and 2.

Referring to FIGS. 4A and 4B, when an unintended link loss occurswithout any operation by the user in a state where the link of BTcommunication corresponding to the first short-range communication ismade through the first short-range communication unit A 253 of the firstelectronic device 200 and the first short-range communication unit B 353of the second electronic device 300 in operation 401, the firstshort-range communication unit A 253 may transmit link loss stateinformation to the controller A 251 and the first short-rangecommunication unit B 353 may transmit the link lost state information tothe controller B 351 in operation 402.

When receiving the link lost state information from the firstshort-range communication unit A 253, the controller A 251 may transmita BLE scan command along with address information of the secondelectronic device 300 with which the link loss occurred in the statewhere the link was established through the first short-rangecommunication unit A 253 to the second short-range communication unit A255 in operation 403. When receiving the BLE scan command from thecontroller A 251, the second short-range communication unit A 255 mayperform a scan operation of scanning for a broadcasted advertisingpacket in operation 404 a.

When receiving the link loss state information from the firstshort-range communication unit B 353, the controller B 351 may transmita broadcasting command for the advertising packet to the secondshort-range communication unit B 355 in operation 403. When receivingthe broadcasting command for the advertising packet from the controllerB 351, the second short-range communication unit B 355 may broadcast theadvertising packet in operation 404 b.

As the second short-range communication unit B 355 broadcasts theadvertising packet, the second short-range communication unit A 255 mayscan for the advertising packet broadcasted by the second short-rangecommunication unit B 355 through the scan operation.

When the address information of the second electronic device 300 isdetected in the scanned advertising packet in operation 405, the secondshort-range communication unit A 255 may transmit a message that informsof the detection of the address information of the second electronicdevice 300 to the controller A 251 in operation 406.

When receiving the message that informs of the detection of the addressinformation of the second electronic device 300 from the secondshort-range communication unit A 255, the controller A 251 may switch toa wake up mode and transmit a command for the link of the firstshort-range communication with the second electronic device 300 to thefirst short-range communication unit A 253 in operation 407.

When receiving the command for the link of the first short-rangecommunication with the second electronic device 300 from the controllerA 251, the first short-range communication unit A 253 may attempt thelink of the first short-range communication (BT) with the secondelectronic device 300 in operation 408.

However, when the link of the first short-range communication with thesecond electronic device 300 fails, the first short-range communicationunit A 253 may determine the failure of the link of the firstshort-range communication in operation 409 and transmit firstshort-range communication link failure information to the controller A251 in operation 410.

When receiving the first short-range communication link failureinformation from the first short-range communication unit A 253, thecontroller A 251 may make a request for an RSSI value of the secondelectronic device 300 to the second short-range communication unit A 255in operation 411.

When receiving the request for the RSSI value of the second electronicdevice 300 from the controller A 251, the second short-rangecommunication unit A 255 may perform operation 412 of detecting the RSSIvalue by using the advertising packet having the address information ofthe second electronic device among the advertising packets scannedthrough the continuous scan operation. In operation 412, the secondshort-range communication unit A 255 may detect the RSSI value through asignal strength of the advertising packet or detect the RSSI value byusing a Tx power level included in the advertising packet.

When the second short-range communication unit A 255 transmits thedetected RSSI value to the controller A 251 in operation 413, thecontroller A 251 may perform operation 414 of comparing the RSSI valuereceived from the second short-range communication unit A 255 with apreset reference RSSI value. When the RSSI value received from thesecond short-range communication unit A 255 is larger than or equal tothe preset reference RSSI value, the controller A 251 may transmit acommand for the link of the first short-range communication with thesecond electronic device 300 to the first short-range communication unitA 253 in operation 415.

When receiving the command for the link of the first short-rangecommunication with the second electronic device 300 from the controllerA 251, the first short-range communication unit A 253 may attempt pagingfor the link of the first short-range communication with the secondelectronic device 300. At this time, when the first short-rangecommunication unit A 253 and the first short-range communication unit B353 of the second electronic device 300, which performs the paging scan,are in synchronization, the link of the BT communication correspondingto the first short-range communication may be re-made between the firstelectronic device 200 and the second electronic device 300 through thefirst short-range communication unit A 253 and the first short-rangecommunication unit B 353 in operation 416.

Since the first short-range communication (BT communication) and thesecond short-range communication (BLE communication) have similarcommunication link ranges but not the same communication range, if thelink of the first short-range communication fails when the link of thesecond short-range communication (BLE communication) is possible, adistance to the second electronic device may be accurately determinedthrough the RSSI value and the link of the first short-rangecommunication is made again.

FIGS. 5A and 5B are flowcharts illustrating an operation for making alink of a short-range communication by an electronic device according tovarious embodiments of the present disclosure.

A method and a process according to an embodiment will be describedbelow with reference to the configuration of the electronic deviceillustrated in FIGS. 1 and 2.

Referring to FIGS. 5A and 5B, when an unintended link loss occurswithout any operation by the user in a state where the link of BTcommunication corresponding to the first short-range communication ismade through the first short-range communication unit A 253 of the firstelectronic device 200 and the first short-range communication unit B 353of the second electronic device 300 in operation 501, the firstshort-range communication unit A 253 may transmit link loss stateinformation to the controller A 251 and the first short-rangecommunication unit B 353 may transmit the link loss state information tothe controller B 351 in operation 502.

When receiving the link loss state information from the firstshort-range communication unit A 253, the controller A 251 may transmita BLE scan command along with address information of the secondelectronic device 300 with which the link loss occurred in the statewhere the link was established through the first short-rangecommunication unit A 253 and a request for an RSSI value of the secondelectronic device to the second short-range communication unit A 255 inoperation 503. When receiving the BLE scan command from the controller A251, the second short-range communication unit A 255 may perform a scanoperation of scanning for a broadcasted advertising packet in operation504 a.

When receiving the link loss state information from the firstshort-range communication unit B 353, the controller B 351 may transmita broadcasting command for the advertising packet to the secondshort-range communication unit B 355 in operation 503.

When receiving the broadcasting command for the advertising packet fromthe controller B 351, the second short-range communication unit B 355may broadcast the advertising packet in operation 504 b.

As the second short-range communication unit B 355 broadcasts theadvertising packet, the second short-range communication unit A 255 mayscan for the advertising packet broadcasted by the second short-rangecommunication unit B 355 through the scan operation.

When the address information of the second electronic device 300 isdetected in the scanned advertising packet in operation 505, the secondshort-range communication unit A 255 may detect the RSSI value of thesecond electronic device 300 in operation 506.

In operation 506, the second short-range communication unit A 255 maydetect the RSSI value through a signal strength of the advertisingpacket or detect the RSSI value by using a Tx power level included inthe advertising packet.

When the second short-range communication unit A 255 transmits thedetected RSSI value to the controller A 251 in operation 507, thecontroller A 251 may perform operation 508 of comparing the RSSI valuereceived from the second short-range communication unit A 255 with apreset reference RSSI value. When the RSSI value received from thesecond short-range communication unit A 255 is larger than or equal tothe preset reference RSSI value, the controller A 251 may transmit acommand for the link of the first short-range communication with thesecond electronic device 300 to the first short-range communication unitA 253 in operation 509.

When receiving the command for the link of the first short-rangecommunication with the second electronic device 300 from the controllerA 251, the first short-range communication unit A 253 may attempt pagingfor the link of the first short-range communication with the secondelectronic device 300. At this time, when the first short-rangecommunication unit A 253 and the first short-range communication unit B353 of the second electronic device 300, which performs the paging scan,are in synchronization, the link of the BT communication correspondingto the first short-range communication may be re-made between the firstelectronic device 200 and the second electronic device 300 through thefirst short-range communication unit A 253 and the first short-rangecommunication unit B 353 in operation 510.

Next, the operation for making the link of the first short-rangecommunication using the second short-range communication (BLEcommunication) with the pairing of the second short-range communication(BLE communication) will be first described with reference to FIGS. 6 to8.

FIG. 6 is a flowchart illustrating an operation for making a link of ashort-range communication by an electronic device according to variousembodiments of the present disclosure.

A method and a process according to an embodiment will be describedbelow with reference to the configuration of the electronic deviceillustrated in FIGS. 1 and 2.

Referring to FIG. 6, when an unintended link loss occurs without anyoperation by the user in a state where the link of BT communicationcorresponding to first short-range communication is made through thefirst short-range communication unit A 253 of the first electronicdevice 200 and the first short-range communication unit B 353 of thesecond electronic device 300 in operation 601, the first short-rangecommunication unit A 253 may transmit link loss state information to thecontroller A 251 and the first short-range communication unit B 353 maytransmit the link loss state information to the controller B 351 inoperation 602.

When receiving the link loss state information from the firstshort-range communication unit A 253, the controller A 251 may transmita BLE background link command along with address information of thesecond electronic device 300 with which the link loss occurs in thestate where the link was established through the first short-rangecommunication unit A 253 to the second short-range communication unit A255 and switch to a sleep mode in operation 603. The BLE background linkcommand corresponds to a command which the controller transmits to a BLEcommunication unit to perform a BLE link without any additional commandwhen a BLE link condition is met.

When receiving the BLE background link command from the controller A251, the second short-range communication unit A 255 may perform a scanoperation of scanning for a broadcasted advertising packet in operation604 a.

When receiving the link loss state information from the firstshort-range communication unit B 353, the controller B 351 may transmita broadcasting command for the advertising packet to the secondshort-range communication unit B 355 and switch to the sleep mode inoperation 603. When receiving the broadcasting command for theadvertising packet from the controller B 351, the second short-rangecommunication unit B 355 may broadcast the advertising packet inoperation 604 b.

As the second short-range communication unit B 355 broadcasts theadvertising packet, the second short-range communication unit A 255 mayscan for the advertising packet broadcasted by the second short-rangecommunication unit B 355 through the scan operation.

When the address information of the second electronic device 300 isdetected in the scanned advertising packet in operation 605, the secondshort-range communication unit A 255 may make a request for the link forBLE communication corresponding to the second short-range communicationto the second short-range communication unit B 355 in operation 606.

When a response to the link of the BLE communication is received fromthe second short-range communication unit B 355 in operation 607, thefirst electronic device 200 and the second electronic device 300 mayestablish the link of the BLE communication corresponding to the secondshort-range communication through the second short-range communicationunit A 255 and the second short-range communication unit B 355 inoperation 608.

The second short-range communication unit A 255 having the establishedlink of the BLE communication through the second short-rangecommunication unit B 355 may transmit a message that informs of thedetection of the address information of the second electronic device 300to the controller A 251 in operation 609.

The BLE link operation through operations 606 to 608 may be performedafter or simultaneously with operation 609 of transmitting the messagethat informs the controller A 251 of the detection of the addressinformation of the second electronic device 300.

When receiving the message that informs of the detection of the addressinformation of the second electronic device 300 from the secondshort-range communication unit A 255, the controller A 251 may switch toa wake up mode from the sleep mode and transmit a command for the linkof the first short-range communication with the second electronic device300 to the first short-range communication unit A 253 in operation 610.

Since the first short-range communication (BT communication) and thesecond short-range communication (BLE communication) have similarcommunication link ranges, a state in which the link of the secondshort-range communication is possible through reception of theadvertising packet broadcasted by the second electronic device may referto a state in which the first short-range communication is possible.

Accordingly, when receiving the command for the link of the firstshort-range communication with the second electronic device 300 from thecontroller A 251, the first short-range communication unit A 253 mayattempt paging for the link of the first short-range communication withthe second electronic device 300. At this time, when the firstshort-range communication unit A 253 and the first short-rangecommunication unit B 353 of the second electronic device 300, whichperforms the paging scan, are in synchronization, the link of the BTcommunication corresponding to the first short-range communication maybe re-made between the first electronic device 200 and the secondelectronic device 300 through the first short-range communication unit A253 and the first short-range communication unit B 353 in operation 611.

FIGS. 7A and 7B are flowcharts illustrating an operation for making alink of a short-range communication by an electronic device according tovarious embodiments of the present disclosure.

A method and a process according to an embodiment will be describedbelow with reference to the configuration of the electronic deviceillustrated in FIGS. 1 and 2.

Referring to FIGS. 7A and 7B, when an unintended link loss occurswithout any operation by the user in a state where the link of BTcommunication corresponding to the first short-range communication ismade through the first short-range communication unit A 253 of the firstelectronic device 200 and the first short-range communication unit B 353of the second electronic device 300 in operation 701, the firstshort-range communication unit A 253 may transmit link loss stateinformation to the controller A 251 and the first short-rangecommunication unit B 353 may transmit the link loss state information tothe controller B 351 in operation 702.

When receiving the link loss state information from the firstshort-range communication unit A 253, the controller A 251 may transmita BLE background link command along with address information of thesecond electronic device 300 with which the link loss occurs in thestate where the link was established through the first short-rangecommunication unit A 253 to the second short-range communication unit A255 in operation 703. When receiving the BLE background link commandfrom the controller A 251, the second short-range communication unit A255 may perform a scan operation of scanning for a broadcastedadvertising packet in operation 704 a.

When receiving the link loss state information from the firstshort-range communication unit B 353, the controller B 351 may transmita broadcasting command for the advertising packet to the secondshort-range communication unit B 355 in operation 703. When receivingthe broadcasting command for the advertising packet from the controllerB 351, the second short-range communication unit B 355 may broadcast theadvertising packet in operation 704 b.

As the second short-range communication unit B 355 broadcasts theadvertising packet, the second short-range communication unit A 255 mayscan for the advertising packet broadcasted by the second short-rangecommunication unit B 355 through the scan operation.

When the address information of the second electronic device 300 isdetected in the scanned advertising packet in operation 705, the secondshort-range communication unit A 255 may make a request for the link forBLE communication corresponding to the second short-range communicationto the second short-range communication unit B 355 in operation 706.

When a response to the link of the BLE communication is received fromthe second short-range communication unit B 355 in operation 707, thefirst electronic device 200 and the second electronic device 300 mayhave the link of the BLE communication corresponding to the secondshort-range communication through the second short-range communicationunit A 255 and the second short-range communication unit B 355 inoperation 708.

The second short-range communication unit A 255 having the establishedlink of the BLE communication through the second short-rangecommunication unit B 355 may transmit a message that informs of thedetection of the address information of the second electronic device 300to the controller A 251 in operation 709.

The BLE link operation through operations 706 to 708 may be performedafter or simultaneously with operation 709 of transmitting the messagethat informs the controller A 251 of the detection of the addressinformation of the second electronic device 300.

When receiving the message that informs of the detection of the addressinformation of the second electronic device 300 from the secondshort-range communication unit A 255, the controller A 251 may switch toa wake up mode and transmit a command for the link of the firstshort-range communication with the second electronic device 300 to thefirst short-range communication unit A 253 in operation 710.

When receiving the command for the link of the first short-rangecommunication with the second electronic device 300 from the controllerA 251, the first short-range communication unit A 253 may attempt thelink of the first short-range communication with the second electronicdevice 300 in operation 712.

However, when the link of the first short-range communication with thesecond electronic device 300 fails, the first short-range communicationunit A 253 may determine the failure of the link of the firstshort-range communication in operation 713 and transmit firstshort-range communication link failure information to the controller A251 in operation 714.

When receiving the first short-range communication link failureinformation from the first short-range communication unit A 253, thecontroller A 251 may make a request for an RSSI value of the secondelectronic device 300 to the second short-range communication unit A 255in operation 715.

When receiving a request for the RSSI value of the second electronicdevice 300 from the controller A 251, the second short-rangecommunication unit A 255 may detect the RSSI value of the secondelectronic device having the link of BLE communication corresponding tothe second short-range communication in operation 716 and transmit thedetected RSSI value to the controller A 251 in operation 717.

The controller A 251 may compare the RSSI value received from the secondshort-range communication unit A 255 with a preset reference RSSI valuein operation 718. When the RSSI value received from the secondshort-range communication unit A 255 is larger than or equal to thepreset reference RSSI value, the controller A 251 may transmit a commandfor the link of the first short-range communication with the secondelectronic device 300 to the first short-range communication unit A inoperation 719.

When receiving the command for the link of the first short-rangecommunication with the second electronic device 300 from the controllerA 251, the first short-range communication unit A 253 may attempt pagingfor the link of the first short-range communication with the secondelectronic device 300. At this time, when the first short-rangecommunication unit A 253 and the first short-range communication unit B353 of the second electronic device 300, which performs the paging scan,are in synchronization, the link of the BT communication correspondingto the first short-range communication may be re-made between the firstelectronic device 200 and the second electronic device 300 through thefirst short-range communication unit A 253 and the first short-rangecommunication unit B 353 in operation 720.

Since the first short-range communication (BT communication) and thesecond short-range communication (BLE communication) have similarcommunication link ranges but not the same communication range, if thelink of the first short-range communication fails when the link of thesecond short-range communication (BLE communication) is possible, adistance to the second electronic device may be accurately determinedthrough the RSSI value and the link of the first short-rangecommunication is made again.

FIGS. 8A and 8B are flowcharts illustrating an operation for making alink of a short-range communication by an electronic device according toone of various embodiments of the present disclosure.

A method and a process according to an embodiment will be describedbelow with reference to the configuration of the electronic deviceillustrated in FIGS. 1 and 2.

Referring to FIGS. 8A and 8B, when an unintended link loss occurswithout any operation by the user in a state where the link of BTcommunication corresponding to the first short-range communication ismade through the first short-range communication unit A 253 of the firstelectronic device 200 and the first short-range communication unit B 353of the second electronic device 300 in operation 801, the firstshort-range communication unit A 253 may transmit link loss stateinformation to the controller A 251 and the first short-rangecommunication unit B 353 may transmit the link loss state information tothe controller B 351 in operation 802.

When receiving the link loss state information from the firstshort-range communication unit A 253, the controller A 251 may transmita BLE background link command along with address information of thesecond electronic device 300 with which the link loss occurs in thestate where the link was established through the first short-rangecommunication unit A 253 and a request for an RSSI value of the secondelectronic device to the second short-range communication unit A 255 inoperation 803. When receiving the BLE background link command from thecontroller A 251, the second short-range communication unit A 255 mayperform a scan operation of scanning for a broadcasted advertisingpacket in operation 804 a.

When receiving the link loss state information from the firstshort-range communication unit B 353, the controller B 351 may transmita broadcasting command for the advertising packet to the secondshort-range communication unit B 355 in operation 803. When receivingthe broadcasting command for the advertising packet from the controllerB 351, the second short-range communication unit B 355 may broadcast theadvertising packet in operation 804 b.

As the second short-range communication unit B 355 broadcasts theadvertising packet, the second short-range communication unit A 255 mayscan for the advertising packet broadcasted by the second short-rangecommunication unit B 355 through the scan operation.

When the address information of the second electronic device 300 isdetected in the scanned advertising packet in operation 805, the secondshort-range communication unit A 255 may make a request for the link forBLE communication corresponding to the second short-range communicationto the second short-range communication unit B 355 in operation 806.

When a response to the link of the BLE communication is received fromthe second short-range communication unit B 355 in operation 807, thefirst electronic device 200 and the second electronic device 300 mayhave the link of the BLE communication corresponding to the secondshort-range communication through the second short-range communicationunit A 255 and the second short-range communication unit B 355 inoperation 808.

The second short-range communication unit A having the link of BLEcommunication corresponding to the second short-range communication withthe second electronic device 300 may detect the RSSI value of the secondelectronic device 300 in operation 809 and perform operation 810 oftransmitting the detected RSSI value to the controller A 251.

The controller A 251 having received the RSSI value of the secondelectronic device 300 from the second short-range communication unit A255 may compare the RSSI value received from the second short-rangecommunication unit A 255 with a preset reference RSSI value in operation811. When the RSSI value received from the second short-rangecommunication unit A 255 is larger than or equal to the preset referenceRSSI value based on a result of the comparison, the controller A 251 maytransmit a command for the link of the first short-range communicationwith the second electronic device 300 to the first short-rangecommunication unit A 253 in operation 812.

When receiving the command for the link of the first short-rangecommunication with the second electronic device 300 from the controllerA 251, the first short-range communication unit A 253 may attempt pagingfor the link of the first short-range communication with the secondelectronic device 300. At this time, when the first short-rangecommunication unit A 253 and the first short-range communication unit B353 of the second electronic device 300, which performs the paging scan,are in synchronization, the link of the BT communication correspondingto the first short-range communication may be re-made between the firstelectronic device 200 and the second electronic device 300 through thefirst short-range communication unit A 253 and the first short-rangecommunication unit B 353 in operation 813.

Although the above embodiments employ examples using the firstshort-range communication unit and the second short-range communicationunit, schemes equal or similar to the principle and configuration of theembodiments may be used for communication between devices rather thanthe short-range communication.

The electronic device and the method of performing the communicationlink by the electronic device according to various embodiments of thepresent disclosure can be implemented by a computer-readable code storedin a computer-readable recording medium.

The computer readable recording medium includes all types of recordingdevices which store data readable by a computer system. As for such arecording medium, for example, a read-only memory (ROM), a random accessmemory (RAM), an optical disc, a magnetic tape, a floppy disc, a harddisc, or a non-volatile memory may be used, and a medium implemented ina type of carrier wave (e.g., transmission through an Internet) may alsobe included in such a recording medium. Further, the computer-readablerecording medium may be dispersed in computer systems connected througha network, and a computer-readable code may be stored and executed in adispersion scheme.

While the present disclosure has been shown and described with referenceto various embodiments thereof, it will be understood by those skilledin the art that various changes in form and details may be made thereinwithout departing from the spirit and scope of the present disclosure asdefined by the appended claims and their equivalents.

1. An electronic device comprising: a first short-range communicationunit configured to perform a first short-range communication; a secondshort-range communication unit configured to perform a secondshort-range communication with a lower power than that of the firstshort-range communication unit; and a controller configured to make alink of the first short-range communication with another electronicdevice by using the second short-range communication unit, wherein thesecond short-range communication unit is configured to attempt thesecond short-range communication with the other electronic device afterthe link of the first short-range communication is lost.
 2. Theelectronic device of claim 1, wherein the controller is furtherconfigured to attempt a re-link with the other electronic device throughthe first short-range communication unit at least partially based on thesecond short-range communication between the second short-rangecommunication unit and the other electronic device.
 3. The electronicdevice of claim 1, wherein the controller is further configured to enterone of a sleep mode or a standby mode after the link of the firstshort-range communication is lost, and wherein the second short-rangecommunication unit is further configured to attempt the secondshort-range communication with the other electronic device while thecontroller has entered one of the sleep mode or the standby mode.
 4. Theelectronic device of claim 1, wherein the first short-rangecommunication unit is further configured to use a Bluetooth protocol,and wherein the second short-range communication unit is furtherconfigured to use a Bluetooth low energy protocol.
 5. The electronicdevice of claim 1, wherein the first short-range communication unit isfurther configured to: transmit link loss state information to thecontroller when a link loss occurs in a state where the link for thefirst short-range communication is established with the other electronicdevice, and attempt the link of the first short-range communication withthe other electronic device when receiving a first short-rangecommunication link command from the controller.
 6. The electronic deviceof claim 1, wherein, when a scan command is received from the controlleralong with address information of the other electronic device, thesecond short-range communication unit is further configured to: performa scan operation, and transmit, when an advertising packet broadcastedby the other electronic device is scanned for during the scan operationand the address information of the second electronic device exists inthe advertising packet, a message that informs of the detection of theaddress information of the other electronic device to the controller. 7.The electronic device of claim 6, wherein, when receiving a request fora received signal strength indication (RSSI) value of the otherelectronic device from the controller after transmitting the messagethat informs of the detection of the address information of the otherelectronic device to the controller, the second short-rangecommunication unit is further configured to: detect the RSSI value byusing an advertising packet including the address information of theother electronic device, and transmit the detected RSSI-value to thecontroller.
 8. The electronic device of claim 1, wherein, when abackground link command is received from the controller along withaddress information of the other electronic device, the secondshort-range communication unit is further configured to perform a scanoperation, and wherein, when an advertising packet broadcasted by theother electronic device is scanned for during the scan operation and theaddress information of the other electronic device exists in theadvertising packet, the second short-range communication unit is furtherconfigured to: make the link of the second short-range communicationwith the other electronic device, and transmit a message that informs ofthe detection of the address information of the other electronic deviceto the controller.
 9. The electronic device of claim 8, wherein, when arequest for a received signal strength indication (RSSI) value of theother electronic device is received from the controller aftertransmitting the message that informs of the detection of the addressinformation of the other electronic device to the controller, the secondshort-range communication unit is further configured to: detect the RSSIvalue of the other electronic device having the link of the secondshort-range communication, and transmit the detected RSSI value to thecontroller.
 10. The electronic device of claim 1, wherein, when a scancommand is received from the controller along with address informationof the other electronic device and a request for a received signalstrength indication (RSSI) value of the other electronic device, thesecond short-range communication unit is further configured to perform ascan operation, and, wherein, when an advertising packet broadcasted bythe other electronic device is scanned for during the scan operation andthe address information of the other electronic device exists in theadvertising packet, the second short-range communication unit is furtherconfigured to: detect the RSSI value by using the advertising packetincluding the address information of the other electronic device, andtransmit the detected RSSI value to the controller.
 11. The electronicdevice of claim 1, wherein, when a background link command is receivedfrom the controller along with address information of the otherelectronic device and a request for an RSSI value of the otherelectronic device, the second short-range communication unit is furtherconfigured to perform a scan operation, and wherein, when an advertisingpacket broadcasted by the other electronic device is scanned for duringthe scan operation and the address information of the other electronicdevice exists in the advertising packet, the second short-rangecommunication unit is further configured to: make the link of the secondshort-range communication with the other electronic device, detect theRSSI value of the other electronic device having the like of the secondshort-range communication, and transmit the detected RSSI value to thecontroller.
 12. The electronic device of claim 1, wherein, whenreceiving link loss state information that informs of the occurrence ofa link loss in a state where the link is established with the otherelectronic device from the first short-range communication unit, thecontroller is further configured to: transmit a scan command to thesecond short-range communication unit along with address information ofthe other electronic device, and transmit, when receiving a message thatinforms of the detection of the address information of the otherelectronic device from the second short-range communication unit, afirst short-range communication link command to the first short-rangecommunication unit.
 13. The electronic device of claim 12, wherein, whenreceiving first short-range communication link failure information fromthe first short-range communication unit after transmitting a firstshort-range communication link command to the first short-rangecommunication unit, the controller is further configured to: make arequest for an RSSI value of the other electronic device to the secondshort-range communication unit, and transmit, when the RSSI valuereceived from the second short-range communication unit is larger thanor equal to a preset reference RSSI value, the first short-rangecommunication link command to the first short-range communication unit.14. The electronic device of claim 1, wherein, when a link loss occursin a state where the link is established between the electronic deviceand the other electronic device through the first short-rangecommunication unit, the electronic device is further configured toperform a scan operation of the second short-range communication.
 15. Amethod of making a communication link by an electronic device, themethod comprising: performing first short-range communication withanother electronic device by an electronic device; and after a link forthe first short-range communication is lost, attempting secondshort-range communication with the other electronic device by theelectronic device.
 16. The method of claim 15, further comprisingattempting a re-link for the first short-range communication with theother electronic device at least partially based on a result of thesecond short-range communication.
 17. The method of claim 15, whereinthe attempting the second short-range communication with the otherelectronic device after the link of the first short-range communicationis lost comprises attempting the second short-range communicationinstead of the first short-range communication after the link of thefirst short-range communication is lost.
 18. The method of claim 15,wherein the first short-range communication is configured to use aBluetooth protocol, and the second short-range communication isconfigured to use a Bluetooth low energy protocol.
 19. The method ofclaim 15, further comprising, when the link of the second short-rangecommunication with the counterpart electronic device becomes possiblethrough the second short-range communication unit after the firstshort-range communication is lost, attempting a link with thecounterpart electronic device through the first short-rangecommunication unit.
 20. The method of claim 15, wherein the attemptingof the link comprises: transmitting, when a link loss occurs in a statewhere the link for the first short-range communication is establishedwith the other electronic device, link loss state information thatinforms of the occurrence of the link loss in the state where the linkfor the first short-range communication is established to the controllerby the first short-range communication unit; transmitting, whenreceiving the link loss state information, a scan command to the secondshort-range communication unit along with address information of theother electronic device by the controller; performing, when receivingthe scan command along with the address information of the otherelectronic device, a scan operation by the second short-rangecommunication unit; transmitting, when an advertising packet broadcastedby the other electronic device is scanned for through the scan operationand the address information of the other electronic device exists in thescanned advertising packet, a message that informs of the detection ofthe address information of the other electronic device to the controllerby the second short-range communication unit; transmitting, whenreceiving the message that informs of the detection of the addressinformation of the other electronic device from the second short-rangecommunication unit, a first short-range communication link command tothe first short-range communication unit by the controller; andattempting, when receiving the first short-range communication linkcommand, the link of the first short-range communication with the otherelectronic device by the first short-range communication unit.
 21. Themethod of claim 20, further comprising: making, when receiving firstshort-range communication link failure information through the firstshort-range communication unit after transmitting a first short-rangecommunication link command to the first short-range communication unit,a request for an RSSI value of the other electronic device to the secondshort-range communication unit, detecting, when receiving the requestfor the RSSI value of the other electronic device from the controller,the RSSI value of the other electronic device by using an advertisingpacket including the address information of the other electronic device;transmitting, when receiving the request for the RSSI value of the otherelectronic device from the controller, the detected RSSI value to thecontroller by the second short-range communication unit; comparing, whenreceiving the RSSI value of the other electronic device from the secondshort-range communication unit, the received RSSI value with a presetreference RSSI value by the controller; transmitting, when the receivedRSSI value is larger than or equal to the reference RSSI value, a firstshort-range communication link command to the first short-rangecommunication unit by the controller; and attempting, when receiving thefirst short-range communication link command, the link of the firstshort-range communication with the other electronic device by the firstshort-range communication unit.
 22. The method of claim 15, wherein theattempting of the link comprises: transmitting, when a link loss occursin a state where the link for the first short-range communication isestablished with the other electronic device, link loss stateinformation that informs of the occurrence of the link loss in the statewhere the link for the first short-range communication is established tothe controller by the first short-range communication unit;transmitting, when receiving the link loss state information, a scancommand to the second short-range communication unit along with addressinformation of the other electronic device and an RSSI value of theother electronic device by the controller; performing, when receivingthe scan command along with the address information of the otherelectronic device and the RSSI value of the other electronic device, ascan operation by the second short-range communication unit; detecting,when an advertising packet broadcasted by the other electronic device isscanned for through the scan operation and the address information ofthe other electronic device exists in the advertising packet, the RSSIvalue of the other electronic device by using the scanned advertisingpacket; transmitting, when an advertising packet broadcasted by theother electronic device is scanned for through the scan operation andthe address information of the other electronic device exists in theadvertising packet, the detected RSSI value to the controller by thesecond short-range communication unit; comparing when receiving the RSSIvalue of the other electronic device from the second short-rangecommunication unit, the received RSSI value with a preset reference RSSIvalue by the controller; transmitting, when the received RSSI value islarger than or equal to the reference RSSI value, a first short-rangecommunication link command to the first short-range communication unitby the controller; and attempting, when receiving the first short-rangecommunication link command, the link of the first short-rangecommunication with the other electronic device by the first short-rangecommunication unit.
 23. The method of claim 15, wherein the attemptingof the link comprises: transmitting, when a link loss occurs in a statewhere the link for the first short-range communication is establishedwith the other electronic device, link loss state information thatinforms of the occurrence of the link loss in the state where the linkfor the first short-range communication is established to the controllerby the first short-range communication unit; transmitting, whenreceiving the link loss state information, a background link command tothe second short-range communication unit along with address informationof the other electronic device by the controller; performing, whenreceiving the scan command along with the address information of theother electronic device, a scan operation by the second short-rangecommunication unit; making, when an advertising packet broadcasted bythe other electronic device is scanned for through the scan operationand the address information of the other electronic device exists in thescanned advertising packet, the link of the second short-rangecommunication with the other electronic device; transmitting, when anadvertising packet broadcasted by the other electronic device is scannedfor through the scan operation and the address information of the otherelectronic device exists in the scanned advertising packet, a messagethat informs of the detection of the address information of the otherelectronic device to the controller by the second short-rangecommunication unit; transmitting, when receiving the message thatinforms of the detection of the address information of the otherelectronic device from the second short-range communication unit, afirst short-range communication link command to the first short-rangecommunication unit by the controller; and attempting, when receiving thefirst short-range communication link command, the link of the firstshort-range communication with the other electronic device by the firstshort-range communication unit.
 24. The method of claim 23, furthercomprising: making, when receiving first short-range communication linkfailure information through the first short-range communication unitafter transmitting a first short-range communication link command to thefirst short-range communication unit, a request for an RSSI value of theother electronic device to the second short-range communication unit bythe controller; detecting, when receiving the request for the RSSI valueof the other electronic device from the controller, the RSSI value ofthe other electronic device having the link of the second short-rangecommunications; transmitting, when receiving the request for the RSSIvalue of the other electronic device from the controller, the RSSI valueof the other electronic device having the link of the second short-rangecommunication, the detected RSSI value to the controller by the secondshort-range communication unit; comparing, when receiving the RSSI valueof the other electronic device from the second short-range communicationunit, the received RSSI value with a preset reference RSSI value by thecontroller; transmitting, when the received RSSI value is larger than orequal to the reference RSSI value, a first short-range communicationlink command to the first short-range communication unit by thecontroller; and attempting, when receiving the first short-rangecommunication link command, the link of the first short-rangecommunication with the other electronic device by the first short-rangecommunication unit.
 25. The method of claim 15, wherein the attemptingof the link comprises: transmitting, when a link loss occurs in a statewhere the link for the first short-range communication is establishedwith the other electronic device, link loss state information thatinforms of the occurrence of the link loss in the state where the linkfor the first short-range communication is established to the controllerby the first short-range communication unit; transmitting, whenreceiving the link loss state information, a background link command tothe second short-range communication unit along with address informationof the other electronic device and a request for an RSSI value of theother electronic device by the controller; performing, when receivingthe scan command along with the address information of the otherelectronic device and the request for the RSSI value of the otherelectronic device, a scan operation by the second short-rangecommunication unit; making, when an advertising packet broadcasted bythe other electronic device is scanned for through the scan operationand the address information of the other electronic device exists in thescanned advertising packet, the link of the second short-rangecommunication with the other electronic device by the second short-rangecommunication unit; detecting the RSSI value of the other electronicdevice having the link of the second short-range communication;transmitting the detected RSSI value to the controller by the secondshort-range communication unit; comparing, when receiving the RSSI valueof the other electronic device from the second short-range communicationunit, the received RSSI value with a preset reference RSSI value by thecontroller; transmitting, when the received RSSI value is larger than orequal to the reference RSSI value, a first short-range communicationlink command to the first short range-communication unit by thecontroller; and attempting, when receiving the first short-rangecommunication link command, the link of the first short-rangecommunication with the other electronic device by the first short-rangecommunication unit.
 26. The method of claim 15, further comprisingbroadcasting, when a link loss occurs in a state where the otherelectronic device has a link of the first short-range communication withthe electronic device through a first short-range communication unit ofthe other electronic device, an advertising packet including addressinformation of the other electronic device through a second short-rangecommunication unit of the other electronic device.
 27. The method ofclaim 15, wherein, when a link loss occurs in a state where a link isestablished between the electronic device and the other electronicdevice through the first short-range communication unit, the electronicdevice performs a scan operation of second short-range communication.28. A non-transitory processor-readable recording medium having aprogram recorded therein, the program executed by at least one processorto perform the method of claim
 15. 29. An electronic device comprising:a first communication unit configured to perform communication by usinga first communication protocol; a second communication unit configuredto perform communication by using a second communication protocol with alower power than that of the first communication unit; and a controllerconfigured to make a first communication link by using the firstcommunication unit, wherein the second communication unit is configuredto attempt a second communication link after the first communicationlink stops.